package org.ahuanlien.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

@Setter@Getter
public class CaseReportBill {

    /*已拒绝*/
    public static final Integer REJECTED = -1;
    /*已报案*/
    public static final Integer REPROTED = 0;
    /*已受理*/
    public static final Integer ACCEPTED = 1;
    /*待审核*/
    public static final Integer TOBEAUDITED = 2;
    /*已审核*/
    public static final Integer AUDITED = 3;

    private Long id;
    /*报案单号*/
    private String caseNumber;
    /*报案人性别*/
    private Boolean gender;
    /*报案人电话*/
    private String telephone;
    /*报案人姓名*/
    private String caseReporterName;
    /*报案时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="gmt+8")
    private Date reportTime;
    /*报案地址*/
    private String caseLocation;
    /*报案保险单号*/
    private String insuranceBillNumber;
    /*报案车牌号*/
    private String plateNumber;
    /*接案员工*/
    private Employee receptionEmployee;
    /*报案单状态*/
    private  Integer status = REPROTED;

}